package Demo3;

public class Test {
    public static void main(String[] args) {
        Computer computer=new Computer();
        Mouse mouse=new Mouse();
        computer.useDevice(mouse);
        System.out.println("___________________________");
        Computer computer1=new Computer();
        USB usb=new KeyBoard();
        computer1.useDevice(usb);

    }
}
